package com.shanjupay.merchant.convert;


import com.shanjupay.merchant.api.dto.MerchantDTO;
import com.shanjupay.merchant.vo.MerchantDetailVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface MerchantDetailConvert {
    MerchantDetailConvert INSTANCE =  Mappers.getMapper(MerchantDetailConvert.class);

    //2vo转化dto
    MerchantDTO voTodto(MerchantDetailVO merchantDetailVO);
    //3dto转化vo
    MerchantDetailVO dtoTovo(MerchantDTO merchantDTO);
}
